package com.ada.myblog.repository;

import com.ada.myblog.pojo.Article;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

public interface ArticleRepository extends JpaRepository<Article,Integer> {
    Page<Article> findAll(Pageable pageable);
}
